package cn.lhx.blog.service;

import java.util.List;

import cn.lhx.blog.pojo.Comment;
import cn.lhx.blog.pojo.GuestMessage;

public interface CommentService {

	public abstract Comment saveComment(Comment comment);

	public abstract int delComment(int id);
	
	public abstract List<Comment> getComments(int begin ,int size);
	/**
	 * 统计评论数量
	 * @return
	 */
	public abstract long statsCommentCount();
	
	public abstract Comment getComment(int id);
	/**
	 * 设置批准状态
	 * @param id
	 * @param isApproved
	 * @return
	 */
	public abstract Comment setStatus(int id,String status);
	
	

}